home *** CD-ROM | disk | FTP | other *** search
- public class EffectDiscPsychicProjection extends Codex {
- public void EndEffect(int projGuid) {
- CodexActor _Projection = new CodexActor(projGuid);
- ((CodexThing)_Projection).Remove();
- }
-
- public void effectstarted(int actorGuid, int effectGuid, int creatorGuid, int duration) {
- CodexActor _Projection = new CodexActor(actorGuid);
- CodexActor _Caster = new CodexActor(creatorGuid);
- _Projection.SetActorFlags(131072);
- _Projection.SetActorTeam(_Caster.GetActorTeam());
- ((Codex)this).CaptureThing(actorGuid);
- }
-
- public void killed(int guid, int causeID, int captureID) {
- this.EndEffect(guid);
- }
-
- public void effectended(int actorGuid, int effectGuid, int creatorGuid, int reason) {
- this.EndEffect(actorGuid);
- }
- }
-